package com.song.ejf.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="S_ROLE")
public class SRole implements java.io.Serializable {
	private static final long serialVersionUID = -2012812256578516803L;
	private String RId;
	private String roleName;
	private Character status;
	private String lastModifyTime;
	@Id
	@Column(name="R_ID",length=32)
	public String getRId() {
		return RId;
	}
	public void setRId(String rId) {
		RId = rId;
	}
	@Column(name="ROLE_NAME",length=50,nullable=false)
	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	@Column(name="STATUS",length=1,nullable=false)
	public Character getStatus() {
		return this.status;
	}

	public void setStatus(Character status) {
		this.status = status;
	}
	@Column(name="LAST_MODIFY_TIME",length=19,nullable=false)
	public String getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
}
